import type { Dayjs } from 'dayjs'

export interface VenueInfo {
  venueNumber: number
  startTime: string
  endTime: string
}

export interface DateItem {
  value: string
  label: string
}

export interface VenueReservationItem {
  id?: number
  siteNumber: number
  customerName: string
  mobile: string
  dueType: number
  dueTime: [number, number]
  dueDate: [number, number, number]
  remark: string
}

export interface CreateForm {
  siteNumbers: number[]
  dueType: number
  dueStartTime: string | undefined
  dueEndTime: string | undefined
  dueStartDate: string | undefined
  dueEndDate: string | undefined
  customerName: string
  mobile: string
  remark: string
  dueDateRange?: [Dayjs | undefined, Dayjs | undefined]
  dueTimeRange?: [Dayjs | undefined, Dayjs | undefined]
}

export interface CancelForm {
  siteNumbers: number[]
  dueStartTime: string | undefined
  dueEndTime: string | undefined
  dueStartDate: string | undefined
  dueEndDate: string | undefined
  dueDateRange?: [Dayjs | undefined, Dayjs | undefined]
  dueTimeRange?: [Dayjs | undefined, Dayjs | undefined]
}
